package com.dc.chat;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.data.redis.core.RedisTemplate;

@SpringBootTest
public class T {
    @Autowired
    RedisTemplate redisTemplate;
    @Test
    public void redisTest(){
        redisTemplate.opsForHash().put("a","a","c");
    }
}
